﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Konves.Csv.CsvSerialization
{
    [AttributeUsage(AttributeTargets.Property)]
    public class CsvFieldNameAttribute : Attribute
    {
        public CsvFieldNameAttribute(string fieldName)
        {
            this.FieldName = fieldName;
        }
        public string FieldName { get; private set; }
    }

    [AttributeUsage(AttributeTargets.Property)]
    public class CsvFieldIndexAttribute : Attribute
    {
        public CsvFieldIndexAttribute(int fieldIndex)
        {
            this.FieldIndex = fieldIndex;
        }
        public int FieldIndex { get; private set; }
    }

    [AttributeUsage(AttributeTargets.Property)]
    public class CsvIgnoreAttribute : Attribute { }
}
